Operation void
setElementAt (Object obj, int index), in Class Vector
Documentation
* Sets the component at the specified <code>index</code> of this
* vector to be the specified object. The previous component at that
* position is discarded.
* <p>
* The index must be a value greater than or equal to <code>0</code>
* and less than the current size of the vector.
*
* @param obj what the component is to be set to.
* @param index the specified index.
* @exception ArrayIndexOutOfBoundsException if the index was invalid.
* @see java.util.Vector#size()
* @since JDK1.0
Concurrency | Sequential | Export Control | PublicAccess |
Property Settings
Java
Final | True | Synchronized | True |
Abstract | False | Static | False |
Native | False | | |